package com.fruit.service.order;

import java.util.Map;

import org.springframework.web.multipart.MultipartFile;

import com.fruit.pojo.order.Order;
import com.fruit.pojo.refund.AfterSalesService;
import com.fruit.pojo.refund.Question;

/** 订单退款接口类
 * 修改时间：2016.07.15
 */
public interface OrderRefundManager {

	
	/**
	 * 订单退款申请界面
	 * @return
	 * @author admin
	 * @version 2017
	 */
	public Map<String, Object> getRefundApply(Order order);
	

	/**
	 * 保存退款信息
	 * @param as
	 * @param imgs
	 * @return
	 * @author admin
	 * @version 2017
	 */
	public Map<String, Object> saveRefund(AfterSalesService as,MultipartFile[] imgs);
	
	/**
	 * 获取售后详情
	 * @param as
	 * @return
	 * @author admin
	 * @version 2017
	 */
	public Map<String, Object> getRefundDetail(AfterSalesService as);
	
	/**
	 * 查看回复列表
	 * @param q
	 * @return
	 * @author admin
	 * @version 2017
	 */
	public Map<String, Object> getQuestion(Question q);
	
	/**
	 * 问题回复页面
	 * @param as
	 * @return
	 * @author admin
	 * @version 2017
	 */
	public Map<String, Object> getQuestionPage(AfterSalesService as);
	
	/**
	 * 保存问题回复内容
	 * @param q
	 * @param imgs
	 * @return
	 * @author admin
	 * @version 2017
	 */
	public Map<String, Object> saveQuestion(AfterSalesService as, MultipartFile[] imgs);

}
